package com.neuedu.system.service.impl;
import lombok.RequiredArgsConstructor;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.neuedu.system.mapper.AAAYunongLandLeaseMapper;
import com.neuedu.system.domain.AAAYunongLandLease;
import com.neuedu.system.service.IAAAYunongLandLeaseService;

/**
 * 招商引资Service业务层处理
 *
 * @author ruoyi
 * @date 2024-12-16
 */
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class AAAYunongLandLeaseServiceImpl extends ServiceImpl<AAAYunongLandLeaseMapper, AAAYunongLandLease> implements IAAAYunongLandLeaseService
{
    private final AAAYunongLandLeaseMapper aAAYunongLandLeaseMapper;

    /**
     * 查询招商引资
     *
     * @param id 招商引资主键
     * @return 招商引资
     */
    @Override
    public AAAYunongLandLease selectAAAYunongLandLeaseById(Long id)
    {
        return aAAYunongLandLeaseMapper.selectAAAYunongLandLeaseById(id);
    }

    /**
     * 查询招商引资列表
     *
     * @param aAAYunongLandLease 招商引资
     * @return 招商引资
     */
    @Override
    public List<AAAYunongLandLease> selectAAAYunongLandLeaseList(AAAYunongLandLease aAAYunongLandLease)
    {
        return aAAYunongLandLeaseMapper.selectAAAYunongLandLeaseList(aAAYunongLandLease);
    }

    /**
     * 新增招商引资
     *
     * @param aAAYunongLandLease 招商引资
     * @return 结果
     */
    @Override
    public int insertAAAYunongLandLease(AAAYunongLandLease aAAYunongLandLease)
    {
        return aAAYunongLandLeaseMapper.insertAAAYunongLandLease(aAAYunongLandLease);
    }

    /**
     * 修改招商引资
     *
     * @param aAAYunongLandLease 招商引资
     * @return 结果
     */
    @Override
    public int updateAAAYunongLandLease(AAAYunongLandLease aAAYunongLandLease)
    {
        return aAAYunongLandLeaseMapper.updateAAAYunongLandLease(aAAYunongLandLease);
    }

    /**
     * 批量删除招商引资
     *
     * @param ids 需要删除的招商引资主键
     * @return 结果
     */
    @Override
    public int deleteAAAYunongLandLeaseByIds(Long[] ids)
    {
        return aAAYunongLandLeaseMapper.deleteAAAYunongLandLeaseByIds(ids);
    }

    /**
     * 删除招商引资信息
     *
     * @param id 招商引资主键
     * @return 结果
     */
    @Override
    public int deleteAAAYunongLandLeaseById(Long id)
    {
        return aAAYunongLandLeaseMapper.deleteAAAYunongLandLeaseById(id);
    }
}
